/**
 * 作者：陈文斌 on 2019/1/11.
 * 邮箱：chen_wennbin@163.com
 * 版本：v1.0
 */

import 'package:json_annotation/json_annotation.dart';
import 'package:crm/model/Company/company_category_model.dart';

part 'company_category_type_model.g.dart';

@JsonSerializable()
class CompanyCategoryTypeModel extends Object with _$CompanyCategoryTypeModelSerializerMixin {
  String Id;
  int MinSelectCount;
  int MaxSelectCount;
  int Ordering;
  String Name;
  String Description;
  List<CompanyCategoryInfoModel> Categories;

  CompanyCategoryTypeModel(
    this.Id,
    this.MinSelectCount,
    this.MaxSelectCount,
    this.Ordering,
    this.Name,
    this.Description,
    this.Categories,
  );

  @override
  factory CompanyCategoryTypeModel.fromJson(Map<String, dynamic> json) =>_$CompanyCategoryTypeModelFromJson(json);
}
